SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5e6a9db5c4c0335b4b87323ab29077b7172efe7468103a0ad02b3149526c97d' 
  AND token = 'zJDCQVNTsLn9WkCm9XvpRtKOwW2nl7r6XWAfet7VMQ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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