SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5586b2f04a5e73c33ae0fedc38b6927b5c920e60505ec06bff04913a070e9719' 
  AND token = 'CTm2HHzyp+7GrfX+RvOlO0YFV2Wa7iyz367PgQ8k86o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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