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

Query time 0.00036

JSON explain

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