SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd9e78eca490685ed36e34e13285045b87c4777018363e51f2a1df85832937d5' 
  AND token = 'kPgi0l10sAG4+rLOu264gYSVhJZg9jkP0m4mxh5ah1c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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