SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc419f5da6f31b4f638e41a90940a9ca264586d306931a2a78e4565a93eed2ba' 
  AND token = 'Up6kFGPgoJcgTiR0cpqUhYBdkhwOh+d2J9dnbMqXtl8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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