SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec7bcecfb7e208be548377b1ad861d43f80e4519d2824b1e87ba21e3bcbe782b' 
  AND token = '5wQLxLezKTz+6SPRa9ZrFl6xGI8TnhkXh5CPktuaizQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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