SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '170a689a4fd3da48c96e21e77d38d491f141e273a58a59bd1ac704b1ad77acfe' 
  AND token = '29vSTV/F4ZesNhRd6+CeeqKfzyVJTeGAlYx/MS5j5io=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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