SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e3d0e96336de2672387560449dcb46dc681a0e086738b27e939583122986bc7' 
  AND token = '7yCDLXwL8P02nA74uORljL61ZhakUG4wVbfThlROMnM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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