SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b77b051ae967a2216ae14f1be39d7a36017cf5c1d154793e95d17b1002570ad1' 
  AND token = 'fF4jJok37/lGox4yelrLWbUkRXNuKrXyVfVKINrdi4w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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