SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bfa128f45e0a3dd77530c266de1bb266c69d171cf23d56fbc6244323a6a25921' 
  AND token = 'LZ++cWCpKrYAxd4WFkUfgJhv8Ik9SYcQbVW9Yjymmd4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00064

JSON explain

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