SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '16b5de806ea63c853b3ab134bfed7eb7f4108c9346d957aa0bf1317e38ec01df' 
  AND token = 'Y1Q+UG1bG2wSOUtF4C1fZ/riE1aBPxLX+XGGZjpKwMQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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