SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6a15e0710e07ad5edb3ef567dcbd86be2c76631563e78b8e7d8e5872b7338df8' 
  AND token = '8Cgv90TosbWo6jxhIh7jHeqY0ITk4QuJ8cJ5v+BYbn4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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