SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd6cbf917c4cc727967501b49967471a245c71a7550fc5ba89c41a110482e11e' 
  AND token = 'rn39d1Mn+mx2WH7j48b4tIVGelUhV9xmDqFU2u7sUf8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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