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

Query time 0.00023

JSON explain

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