SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d2b847c6de012986c631bd49c43826e30160ac82c45c09978cc6933c40ec397' 
  AND token = 'pi8im7KEH0zGC7ZTXe/bd5SAca/2PkaeaQJ9GSxnrhI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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