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

Query time 0.00043

JSON explain

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