SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a06bce3c42f72ec5b1ea309cdc5e8ec24852466003562b375e3e7aa07e65c5e' 
  AND token = 'TH/TSDsWGiRFRmo/Mp8x3rB8/sznHLwPEAsJ4ny0854=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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