SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '835ec1b4f6f07266672ddf33354210624233f5bc50e25b3d34f32358db48b598' 
  AND token = 'hZyDP84vheSgea0cQ1+MOVFqGuEHDdpAHTGlOfAPmmw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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