SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccf8f4fbc5894067c70b8010ce7a1c624d3fc06475b9909462b31b90158baef1' 
  AND token = 'W5fL9IGsNpGecRjSF28rgWiURNnBOIxE2eHdOEe11kk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00068

JSON explain

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