SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ca7a2ed77dd057eb011a3d7a8fadedd178a5145f604e8e09ba88aef1273100c' 
  AND token = 'sGJD4DWubTmqjz6dr6YBn7pNQyhQIop2PJdTqsZsOoA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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