SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a9a849dcca935ec23bd89f90dd20549df1828a87e3eee1d1cc834baa72badea' 
  AND token = 'X049hwY2XO29z0cksZpEVU3a95af3E8W7G6NxZHLKvU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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