SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a40c000c92f378f03fed9acd4f12670640545a75598d15491d90791155475957' 
  AND token = 'NEk0rVAwqlGnUL7JGGOpEc7P2Bn/N1s8+39Rh+YzzDw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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