SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7b8120e810784949f7dc1b7389b2359d7361a90a88d050f79c881bca1e56eef8' 
  AND token = 'tTjuAF/GnkQXgZ6Axti0irNq44xhrdpF5dBBICU4sPc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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