SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50efdeaa30ec597c1188bda1f9c17bb4d77c433f38302ed9dcd2cf9da5ce519a' 
  AND token = 'Q9iBgQEdDhe9YJ84c07bA6UatneCfJa2yg3cQJHbaI8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}