SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0247cdf861801bb9373530745c7f0458dc45fb8c1dfb0c9ca547ab01e63373bd' 
  AND token = '9BH7LyHlgbOdkg5XBu4LFj8TuuBlCkkHFgwTzzq/d9Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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