SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ae0b7e1ed90ace7f868a8a11bd18d1a0cb5f4d3d55b73f2fcff5c665f0b9cfc' 
  AND token = 'z46ZuYc7duOsPmsr2fEsxpTWpW+XbJkdu5pQAVp1Q8k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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