SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '783c5d109a0b361e4a8df7dc3665e895503497276ddcfc786dc866c778206b05' 
  AND token = 'CcUqBqdNbwwjQHmjGT3mRAl2kP1Avli/yYzVJBSg3iM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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