SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '09a5b8af186624eb28363192cafa309219a7b0a38b300b3e7018f261b7b44fc0' 
  AND token = 'd6fLVMiTHNtKfW5touFg0Nno3euWjEV54mszcB1yNyo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}