SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2be018fae51d65072274135ae76eb99bcf3ee7fe196649f8860138cc23424f44' 
  AND token = 'B78VP9z+xEvO35z8iM81P7okB7hI2Ao44V1YMZoqnb0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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