SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38efae112fcba0fc5767d4bf40320d869dace387962572f7fde9f0c6bfb93786' 
  AND token = 'mONZKtqITbuutFoxfdNa1xyQDVdaFGzVfrycCkwMaLc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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