SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '82b865c301558113231fe1d18dda3d6ef886fba55edc6266b2356ce308d240d1' 
  AND token = 'esqWTtCTVqp7c3NbSFeF9G/v03/cyVXjlZlGIl3oSHI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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